@model viBook.Models.Book

@* This partial view defines form fields that will appear when creating and editing entities *@

<div class="editor-label">
    @Html.LabelFor(model => model.Title)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Title)
    @Html.ValidationMessageFor(model => model.Title)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.AuthorId)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.AuthorId)
    @Html.ValidationMessageFor(model => model.AuthorId)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Description)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Description)
    @Html.ValidationMessageFor(model => model.Description)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.View)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.View)
    @Html.ValidationMessageFor(model => model.View)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.CoverUrl)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.CoverUrl)
    @Html.ValidationMessageFor(model => model.CoverUrl)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.UploadedDate)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.UploadedDate)
    @Html.ValidationMessageFor(model => model.UploadedDate)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.UploadedBy)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.UploadedBy)
    @Html.ValidationMessageFor(model => model.UploadedBy)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Tag)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Tag)
    @Html.ValidationMessageFor(model => model.Tag)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.CategoryId)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.CategoryId)
    @Html.ValidationMessageFor(model => model.CategoryId)
</div>

